import { Http } from "../utils/http";

class MemberType {
    /**
     * 获取会员卡信息
     */
    static async getList() {
        return await Http.request({url: 'member-type', data:{}});
    }

    /**
     * 创建会员卡订单
     */
    static async createOrder(id) {
        return await Http.request({url: 'member-type', data:{ id: id }, type: 'POST'});
    }
}

export {
    MemberType
}